<!-- HTML header for doxygen 1.9.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>COMMONS-NET: commonsNet.telnet.Telnet类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">COMMONS-NET
   </div>
  </td>
    <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
          <input type="text" id="MSearchField" value="" placeholder="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('classcommonsNet_1_1telnet_1_1Telnet.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="#pac-methods">包函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classcommonsNet_1_1telnet_1_1Telnet-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">commonsNet.telnet.Telnet类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>实现Telnet的基本功能。  
 <a href="classcommonsNet_1_1telnet_1_1Telnet.html#details">更多...</a></p>
<div class="dynheader">
类 commonsNet.telnet.Telnet 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcommonsNet_1_1telnet_1_1Telnet.png" usemap="#commonsNet.telnet.Telnet_map" alt=""/>
  <map id="commonsNet.telnet.Telnet_map" name="commonsNet.telnet.Telnet_map">
<area href="classcommonsNet_1_1SocketClient.html" title="SocketClient类提供客户端对象访问套接字所需的基本操作。打开套接字、关闭套接字、设置超时等。" alt="commonsNet.SocketClient" shape="rect" coords="0,0,187,24"/>
<area href="classcommonsNet_1_1telnet_1_1TelnetClient.html" title="Telnet客户端类。" alt="commonsNet.telnet.TelnetClient" shape="rect" coords="0,112,187,136"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a007517fd9f34070dd2812d246fd149cd"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a007517fd9f34070dd2812d246fd149cd">init</a> ()</td></tr>
<tr class="memdesc:a007517fd9f34070dd2812d246fd149cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">空构造函数  <br /></td></tr>
<tr class="separator:a007517fd9f34070dd2812d246fd149cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58a6c3e89b777c64c8c67ab1a44f78dd"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a58a6c3e89b777c64c8c67ab1a44f78dd">init</a> (termtype: String)</td></tr>
<tr class="memdesc:a58a6c3e89b777c64c8c67ab1a44f78dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">允许指定终端类型。  <br /></td></tr>
<tr class="separator:a58a6c3e89b777c64c8c67ab1a44f78dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa2f98a6c8a1a5ce149c9881802bb16b"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#aaa2f98a6c8a1a5ce149c9881802bb16b">addOptionHandler</a> (opthand: <a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html">TelnetOptionHandler</a>): Unit</td></tr>
<tr class="memdesc:aaa2f98a6c8a1a5ce149c9881802bb16b"><td class="mdescLeft">&#160;</td><td class="mdescRight">注册一个新的 TelnetOptionHandler 以供该 telnet 使用。  <br /></td></tr>
<tr class="separator:aaa2f98a6c8a1a5ce149c9881802bb16b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0484eeddaa11d7018a5cc1835bbb26f2"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a0484eeddaa11d7018a5cc1835bbb26f2">deleteOptionHandler</a> (optcode: Int64): Unit</td></tr>
<tr class="memdesc:a0484eeddaa11d7018a5cc1835bbb26f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">取消注册 TelnetOptionHandler。  <br /></td></tr>
<tr class="separator:a0484eeddaa11d7018a5cc1835bbb26f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a6ede6d8612e8c67f5b15f49a0882f0"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a2a6ede6d8612e8c67f5b15f49a0882f0">registerNotifHandler</a> (notifhand: <a class="el" href="classcommonsNet_1_1telnet_1_1TelnetNotificationHandler.html">TelnetNotificationHandler</a>): Unit</td></tr>
<tr class="memdesc:a2a6ede6d8612e8c67f5b15f49a0882f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">注册一个通知处理程序，将收到的 telnet 选项协商命令的通知发送到该通知处理程序。  <br /></td></tr>
<tr class="separator:a2a6ede6d8612e8c67f5b15f49a0882f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b63b3e901500afe98f79663f5467c27"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a9b63b3e901500afe98f79663f5467c27">unregisterNotifHandler</a> (): Unit</td></tr>
<tr class="memdesc:a9b63b3e901500afe98f79663f5467c27"><td class="mdescLeft">&#160;</td><td class="mdescRight">取消注册当前通知处理程序。  <br /></td></tr>
<tr class="separator:a9b63b3e901500afe98f79663f5467c27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classcommonsNet_1_1SocketClient"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcommonsNet_1_1SocketClient')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classcommonsNet_1_1SocketClient.html">commonsNet.SocketClient</a></td></tr>
<tr class="memitem:a1bb898df45d7b393d6c2814753b05be3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a1bb898df45d7b393d6c2814753b05be3">init</a> ()</td></tr>
<tr class="memdesc:a1bb898df45d7b393d6c2814753b05be3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">默认构造函数  <br /></td></tr>
<tr class="separator:a1bb898df45d7b393d6c2814753b05be3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87551917056355777424650106857aaa inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public mut prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a87551917056355777424650106857aaa">readTimeout</a> : ?Duration</td></tr>
<tr class="separator:a87551917056355777424650106857aaa inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bc17afff65b64aa296c3b55ada867ef inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public mut prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a1bc17afff65b64aa296c3b55ada867ef">writeTimeout</a> : ?Duration</td></tr>
<tr class="separator:a1bc17afff65b64aa296c3b55ada867ef inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6356afd60138e32bd7b05c8be35149d6 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a6356afd60138e32bd7b05c8be35149d6">remoteAddress</a> : IPAddress</td></tr>
<tr class="memdesc:a6356afd60138e32bd7b05c8be35149d6 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端连接到的远程地址。委托给<code><a class="el" href="">StreamingSocket#remoteAddress</a></code>  <br /></td></tr>
<tr class="separator:a6356afd60138e32bd7b05c8be35149d6 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48b65614c29c5816bddc0c0b6d9bf2df inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a48b65614c29c5816bddc0c0b6d9bf2df">remotePort</a> : UInt16</td></tr>
<tr class="memdesc:a48b65614c29c5816bddc0c0b6d9bf2df inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端连接到的远程主机的端口号  <br /></td></tr>
<tr class="separator:a48b65614c29c5816bddc0c0b6d9bf2df inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93a0598e2a9e67a8cd12779a30d65142 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a93a0598e2a9e67a8cd12779a30d65142">localAddress</a> : IPAddress</td></tr>
<tr class="memdesc:a93a0598e2a9e67a8cd12779a30d65142 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端套接字绑定到的本地地址。委托给<code><a class="el" href="">StreamingSocket#localAddress</a></code>  <br /></td></tr>
<tr class="separator:a93a0598e2a9e67a8cd12779a30d65142 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfc16ab47c94037df62fb2ba9d027f1e inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#acfc16ab47c94037df62fb2ba9d027f1e">localPort</a> : UInt16</td></tr>
<tr class="memdesc:acfc16ab47c94037df62fb2ba9d027f1e inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端绑定到的本地端口号  <br /></td></tr>
<tr class="separator:acfc16ab47c94037df62fb2ba9d027f1e inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9044380b2d1dd34779216a935fa265c inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public mut prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#af9044380b2d1dd34779216a935fa265c">defaultPort</a> : UInt16</td></tr>
<tr class="memdesc:af9044380b2d1dd34779216a935fa265c inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端应连接的默认端口。  <br /></td></tr>
<tr class="separator:af9044380b2d1dd34779216a935fa265c inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c83df8caef820abcb2ab39ebeb3ffa7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public mut prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a0c83df8caef820abcb2ab39ebeb3ffa7">connectTimeout</a> : Duration</td></tr>
<tr class="memdesc:a0c83df8caef820abcb2ab39ebeb3ffa7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接超时时间，将传递给socket对象的connect方法。  <br /></td></tr>
<tr class="separator:a0c83df8caef820abcb2ab39ebeb3ffa7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a488725edabd4193aa85e999f834245 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a7a488725edabd4193aa85e999f834245">isConnected</a> (): Bool</td></tr>
<tr class="memdesc:a7a488725edabd4193aa85e999f834245 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">如果套接字不是None，则返回true。  <br /></td></tr>
<tr class="separator:a7a488725edabd4193aa85e999f834245 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04e993f4f4374f378f9ddf730e7d1a1a inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a04e993f4f4374f378f9ddf730e7d1a1a">setSocketFactory</a> (socketFactory: ?<a class="el" href="classcommonsNet_1_1SocketFactory.html">SocketFactory</a>): Unit</td></tr>
<tr class="separator:a04e993f4f4374f378f9ddf730e7d1a1a inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4daf93a806b1a99d35e8b2d8394b2ff inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#ad4daf93a806b1a99d35e8b2d8394b2ff">setServerSocketFactory</a> (serverSocketFactory: ?<a class="el" href="classcommonsNet_1_1ServerSocketFactory.html">ServerSocketFactory</a>): Unit</td></tr>
<tr class="separator:ad4daf93a806b1a99d35e8b2d8394b2ff inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fbcc57fadf7e3f7b9061232f3bc6303 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a0fbcc57fadf7e3f7b9061232f3bc6303">connect</a> (address: String): Unit</td></tr>
<tr class="memdesc:a0fbcc57fadf7e3f7b9061232f3bc6303 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接到远程主机  <br /></td></tr>
<tr class="separator:a0fbcc57fadf7e3f7b9061232f3bc6303 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a641075d2637ea7141ee2a535d922ef47 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a641075d2637ea7141ee2a535d922ef47">connect</a> (address: String, port: UInt16): Unit</td></tr>
<tr class="memdesc:a641075d2637ea7141ee2a535d922ef47 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接到远程主机  <br /></td></tr>
<tr class="separator:a641075d2637ea7141ee2a535d922ef47 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a5e20f3c11d7648fe8e13bbbfecc685 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a3a5e20f3c11d7648fe8e13bbbfecc685">connect</a> (address: String, port: UInt16, localAddress: Option&lt;SocketAddress&gt;): Unit</td></tr>
<tr class="memdesc:a3a5e20f3c11d7648fe8e13bbbfecc685 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接到远程主机  <br /></td></tr>
<tr class="separator:a3a5e20f3c11d7648fe8e13bbbfecc685 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ea99f7b6db651e4209ec78e8055ad45 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a1ea99f7b6db651e4209ec78e8055ad45">connect</a> (address: SocketAddress): Unit</td></tr>
<tr class="memdesc:a1ea99f7b6db651e4209ec78e8055ad45 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接到远程主机  <br /></td></tr>
<tr class="separator:a1ea99f7b6db651e4209ec78e8055ad45 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0bfe81fc4e64ac8c8cb4b0982ea6ca7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#ac0bfe81fc4e64ac8c8cb4b0982ea6ca7">connect</a> (address: SocketAddress, localAddress: Option&lt;SocketAddress&gt;): Unit</td></tr>
<tr class="memdesc:ac0bfe81fc4e64ac8c8cb4b0982ea6ca7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接到远程主机  <br /></td></tr>
<tr class="separator:ac0bfe81fc4e64ac8c8cb4b0982ea6ca7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d49495a9b64c3e848a020b509dcfdc0 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a9d49495a9b64c3e848a020b509dcfdc0">addProtocolCommandListener</a> (listener: <a class="el" href="classcommonsNet_1_1ProtocolCommandListener.html">ProtocolCommandListener</a>): Unit</td></tr>
<tr class="memdesc:a9d49495a9b64c3e848a020b509dcfdc0 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加一个ProtocolCommandListener  <br /></td></tr>
<tr class="separator:a9d49495a9b64c3e848a020b509dcfdc0 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a644174b37f378552318c6b93e44ae0e3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a644174b37f378552318c6b93e44ae0e3">removeProtocolCommandListener</a> (listener: <a class="el" href="classcommonsNet_1_1ProtocolCommandListener.html">ProtocolCommandListener</a>): Unit</td></tr>
<tr class="memdesc:a644174b37f378552318c6b93e44ae0e3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">移除一个ProtocolCommandListener  <br /></td></tr>
<tr class="separator:a644174b37f378552318c6b93e44ae0e3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a209c171637129b711301908fe5781329 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a209c171637129b711301908fe5781329">disconnect</a> (): Unit</td></tr>
<tr class="memdesc:a209c171637129b711301908fe5781329 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">端口socket连接。应该在完成使用后以及再次连接之前调用此方法。_socket_将设为None  <br /></td></tr>
<tr class="separator:a209c171637129b711301908fe5781329 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a174f159c659d115fbb46baace12215d7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a174f159c659d115fbb46baace12215d7">verifyRemote</a> (socket: StreamingSocket)</td></tr>
<tr class="memdesc:a174f159c659d115fbb46baace12215d7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">验证给定套接字的远端是否为当前SocketClient连接的同一主机。  <br /></td></tr>
<tr class="separator:a174f159c659d115fbb46baace12215d7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:aa32860af9b9e57a0829e1eb884f43a83"><td class="memItemLeft" align="right" valign="top">protected open override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#aa32860af9b9e57a0829e1eb884f43a83">_connectAction_</a> (): Unit</td></tr>
<tr class="memdesc:aa32860af9b9e57a0829e1eb884f43a83"><td class="mdescLeft">&#160;</td><td class="mdescRight">调用连接。  <br /></td></tr>
<tr class="separator:aa32860af9b9e57a0829e1eb884f43a83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classcommonsNet_1_1SocketClient"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classcommonsNet_1_1SocketClient')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="classcommonsNet_1_1SocketClient.html">commonsNet.SocketClient</a></td></tr>
<tr class="memitem:afa2734bc5477eabf0599324d6ede038b inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">protected func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#afa2734bc5477eabf0599324d6ede038b">fireCommandSent</a> (command: String, message: String)</td></tr>
<tr class="memdesc:afa2734bc5477eabf0599324d6ede038b inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">如果有任何监听器，则向他们发送命令的详细信息。  <br /></td></tr>
<tr class="separator:afa2734bc5477eabf0599324d6ede038b inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9c596dad672de038df93ef77b63746f inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">protected open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#ae9c596dad672de038df93ef77b63746f">fireReplyReceived</a> (replyCode: Int64, reply: String)</td></tr>
<tr class="memdesc:ae9c596dad672de038df93ef77b63746f inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">如果有任何监听器，则向他们发送回复的详细信息。  <br /></td></tr>
<tr class="separator:ae9c596dad672de038df93ef77b63746f inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5133836949f8b27b41a31473654c881 inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">protected open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#ab5133836949f8b27b41a31473654c881">_connectAction_</a> ()</td></tr>
<tr class="memdesc:ab5133836949f8b27b41a31473654c881 inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">由于存在较多的connect方法，因此提供_connectAction_方法作为在建立连接后立即执行某些操作的手段，而不是重新实现所有connect方法。  <br /></td></tr>
<tr class="separator:ab5133836949f8b27b41a31473654c881 inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:a41a30c09fbbfa4152bb3b6364102bf94"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a41a30c09fbbfa4152bb3b6364102bf94">static let TERMINAL_TYPE</a> = 24</td></tr>
<tr class="memdesc:a41a30c09fbbfa4152bb3b6364102bf94"><td class="mdescLeft">&#160;</td><td class="mdescRight">终端类型选项  <br /></td></tr>
<tr class="separator:a41a30c09fbbfa4152bb3b6364102bf94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a286911c6262df04f1ae3e0355bf64dc6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a286911c6262df04f1ae3e0355bf64dc6">static let TERMINAL_TYPE_SEND</a> = 1</td></tr>
<tr class="memdesc:a286911c6262df04f1ae3e0355bf64dc6"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送（用于子协商）  <br /></td></tr>
<tr class="separator:a286911c6262df04f1ae3e0355bf64dc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52f4cc098994c8f7739883b30a741b4b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a52f4cc098994c8f7739883b30a741b4b">static let TERMINAL_TYPE_IS</a> = 0</td></tr>
<tr class="memdesc:a52f4cc098994c8f7739883b30a741b4b"><td class="mdescLeft">&#160;</td><td class="mdescRight">是否（用于子协商）  <br /></td></tr>
<tr class="separator:a52f4cc098994c8f7739883b30a741b4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09cf5a261a043d414a0fc3bf6e01308e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a09cf5a261a043d414a0fc3bf6e01308e">let lock</a> = ReentrantMutex()</td></tr>
<tr class="separator:a09cf5a261a043d414a0fc3bf6e01308e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classcommonsNet_1_1SocketClient"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classcommonsNet_1_1SocketClient')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="classcommonsNet_1_1SocketClient.html">commonsNet.SocketClient</a></td></tr>
<tr class="memitem:a3da898c3d3f8488cf8a498ce1147eaf7 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a3da898c3d3f8488cf8a498ce1147eaf7">var _socket_</a> : ?StreamingSocket</td></tr>
<tr class="memdesc:a3da898c3d3f8488cf8a498ce1147eaf7 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接使用的socket  <br /></td></tr>
<tr class="separator:a3da898c3d3f8488cf8a498ce1147eaf7 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7610863136db5773a465f7a4feb10cd5 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a7610863136db5773a465f7a4feb10cd5">var _input_</a> : ?InputStream = None</td></tr>
<tr class="memdesc:a7610863136db5773a465f7a4feb10cd5 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">socket输入流  <br /></td></tr>
<tr class="separator:a7610863136db5773a465f7a4feb10cd5 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60f2dfec175bdbd8f243aea7a7dae5ec inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a60f2dfec175bdbd8f243aea7a7dae5ec">var _output_</a> : ?OutputStream = None</td></tr>
<tr class="memdesc:a60f2dfec175bdbd8f243aea7a7dae5ec inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">socket输出流  <br /></td></tr>
<tr class="separator:a60f2dfec175bdbd8f243aea7a7dae5ec inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ae2f2d89af96526257357b68009b196 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a1ae2f2d89af96526257357b68009b196">var _hostname_</a> : ?String</td></tr>
<tr class="memdesc:a1ae2f2d89af96526257357b68009b196 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于连接的主机名  <br /></td></tr>
<tr class="separator:a1ae2f2d89af96526257357b68009b196 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0eeb213da3426f5b5fe3b0341f628106 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a0eeb213da3426f5b5fe3b0341f628106">var _remoteSocketAddress_</a> : ?SocketAddress</td></tr>
<tr class="memdesc:a0eeb213da3426f5b5fe3b0341f628106 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于连接的远程套接字地址。  <br /></td></tr>
<tr class="separator:a0eeb213da3426f5b5fe3b0341f628106 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a222ed7ff95066135d7427671c17cbb51 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a222ed7ff95066135d7427671c17cbb51">var _defaultPort_</a> : UInt16</td></tr>
<tr class="memdesc:a222ed7ff95066135d7427671c17cbb51 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端应连接的默认端口。  <br /></td></tr>
<tr class="separator:a222ed7ff95066135d7427671c17cbb51 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45e24f8b9f78f96b0e42499f5224c42a inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a45e24f8b9f78f96b0e42499f5224c42a">var _socketFactory_</a> : <a class="el" href="classcommonsNet_1_1SocketFactory.html">SocketFactory</a></td></tr>
<tr class="separator:a45e24f8b9f78f96b0e42499f5224c42a inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa278799518e05c3b7aeb28bcebb23375 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#aa278799518e05c3b7aeb28bcebb23375">var _serverSocketFactory_</a> : <a class="el" href="classcommonsNet_1_1ServerSocketFactory.html">ServerSocketFactory</a></td></tr>
<tr class="separator:aa278799518e05c3b7aeb28bcebb23375 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a839d81898a2aacfcf9bfd3b7b6f0ffb8 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a839d81898a2aacfcf9bfd3b7b6f0ffb8">var _connectTimeout_</a> : Duration = DEFAULT_CONNECT_TIMEOUT</td></tr>
<tr class="memdesc:a839d81898a2aacfcf9bfd3b7b6f0ffb8 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接超时时间  <br /></td></tr>
<tr class="separator:a839d81898a2aacfcf9bfd3b7b6f0ffb8 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57b01a4fe6374778b227c41a8a45b0e1 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a57b01a4fe6374778b227c41a8a45b0e1">let _commandSupport</a> : <a class="el" href="classcommonsNet_1_1ProtocolCommandSupport.html">ProtocolCommandSupport</a></td></tr>
<tr class="memdesc:a57b01a4fe6374778b227c41a8a45b0e1 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">ProtocolCommandSupport对象，用于管理ProtocolCommandListeners的注册和ProtocolCommandEvents的触发。  <br /></td></tr>
<tr class="separator:a57b01a4fe6374778b227c41a8a45b0e1 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pac-methods" name="pac-methods"></a>
包函数</h2></td></tr>
<tr class="memitem:a6a39f0c98225acdda63f0caa8cd0fbdd"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a6a39f0c98225acdda63f0caa8cd0fbdd">_registerSpyStream</a> (spystream: OutputStream): Unit</td></tr>
<tr class="memdesc:a6a39f0c98225acdda63f0caa8cd0fbdd"><td class="mdescLeft">&#160;</td><td class="mdescRight">注册OutputStream以监视Telnet会话中发生的事情。  <br /></td></tr>
<tr class="separator:a6a39f0c98225acdda63f0caa8cd0fbdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8539c9bac36136a99341f0482055f52"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#af8539c9bac36136a99341f0482055f52">_sendAYT</a> (_timeout: Duration): Bool</td></tr>
<tr class="memdesc:af8539c9bac36136a99341f0482055f52"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 AYT 序列并等待结果。  <br /></td></tr>
<tr class="separator:af8539c9bac36136a99341f0482055f52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab54b726af9cac9e17e73c741d6d63187"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#ab54b726af9cac9e17e73c741d6d63187">_sendCommand</a> (cmd: Byte): Unit</td></tr>
<tr class="memdesc:ab54b726af9cac9e17e73c741d6d63187"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送命令，自动添加 IAC 前缀并刷新输出。  <br /></td></tr>
<tr class="separator:ab54b726af9cac9e17e73c741d6d63187"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad46ae629a7fa2f7d7a8f728abf187f6b"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#ad46ae629a7fa2f7d7a8f728abf187f6b">_sendSubnegotiation</a> (subn: Array&lt;Int64&gt;): Unit</td></tr>
<tr class="memdesc:ad46ae629a7fa2f7d7a8f728abf187f6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">管理终端类型的子协商。  <br /></td></tr>
<tr class="separator:ad46ae629a7fa2f7d7a8f728abf187f6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac93058e47c7da88870a32b81b62987ea"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#ac93058e47c7da88870a32b81b62987ea">_stopSpyStream</a> (): Unit</td></tr>
<tr class="memdesc:ac93058e47c7da88870a32b81b62987ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">停止监视此 Telnet。  <br /></td></tr>
<tr class="separator:ac93058e47c7da88870a32b81b62987ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2714bb144f15c7f289024db49be39d25"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a2714bb144f15c7f289024db49be39d25">processAYTResponse</a> (): Unit</td></tr>
<tr class="memdesc:a2714bb144f15c7f289024db49be39d25"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理 AYT 的响应  <br /></td></tr>
<tr class="separator:a2714bb144f15c7f289024db49be39d25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1617f438728d34e9e496561795743d1c"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a1617f438728d34e9e496561795743d1c">processCommand</a> (command: Int64): Unit</td></tr>
<tr class="memdesc:a1617f438728d34e9e496561795743d1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理一个命令。  <br /></td></tr>
<tr class="separator:a1617f438728d34e9e496561795743d1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e34327fc0b90b65748dcbaae88984e0"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a4e34327fc0b90b65748dcbaae88984e0">processDo</a> (option: Int64): Unit</td></tr>
<tr class="memdesc:a4e34327fc0b90b65748dcbaae88984e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理 DO 请求。  <br /></td></tr>
<tr class="separator:a4e34327fc0b90b65748dcbaae88984e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acba69aee4e6f7df8460be9e567bed40f"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#acba69aee4e6f7df8460be9e567bed40f">processDont</a> (option: Int64): Unit</td></tr>
<tr class="memdesc:acba69aee4e6f7df8460be9e567bed40f"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理 DONT 请求。  <br /></td></tr>
<tr class="separator:acba69aee4e6f7df8460be9e567bed40f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4a8dfae7deeac1547191e580f155e19"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#af4a8dfae7deeac1547191e580f155e19">processSuboption</a> (suboption: Array&lt;Int64&gt;, suboptionLength: Int64): Unit</td></tr>
<tr class="memdesc:af4a8dfae7deeac1547191e580f155e19"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理子选项协商。  <br /></td></tr>
<tr class="separator:af4a8dfae7deeac1547191e580f155e19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a5f2c79d04877b13580642968ec74d7"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a1a5f2c79d04877b13580642968ec74d7">processWill</a> (option: Int64): Unit</td></tr>
<tr class="memdesc:a1a5f2c79d04877b13580642968ec74d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理 WILL 请求。  <br /></td></tr>
<tr class="separator:a1a5f2c79d04877b13580642968ec74d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f233d481e2e42c5a3bc91a02a1784d8"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a7f233d481e2e42c5a3bc91a02a1784d8">processWont</a> (option: Int64): Unit</td></tr>
<tr class="memdesc:a7f233d481e2e42c5a3bc91a02a1784d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理 WONT 请求。  <br /></td></tr>
<tr class="separator:a7f233d481e2e42c5a3bc91a02a1784d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab097a7e039bd295020dd18ffede5a7a6"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#ab097a7e039bd295020dd18ffede5a7a6">requestDo</a> (option: Int64): Unit</td></tr>
<tr class="memdesc:ab097a7e039bd295020dd18ffede5a7a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">请求 DO。  <br /></td></tr>
<tr class="separator:ab097a7e039bd295020dd18ffede5a7a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2daf3ae644a4cec03cf0e48fe8405cd1"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a2daf3ae644a4cec03cf0e48fe8405cd1">requestDont</a> (option: Int64): Unit</td></tr>
<tr class="memdesc:a2daf3ae644a4cec03cf0e48fe8405cd1"><td class="mdescLeft">&#160;</td><td class="mdescRight">请求 DONT。  <br /></td></tr>
<tr class="separator:a2daf3ae644a4cec03cf0e48fe8405cd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a446bf7e4c4498691c49b9bf000282a3b"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a446bf7e4c4498691c49b9bf000282a3b">requestedDo</a> (option: Int64): Bool</td></tr>
<tr class="memdesc:a446bf7e4c4498691c49b9bf000282a3b"><td class="mdescLeft">&#160;</td><td class="mdescRight">查找选项的状态。  <br /></td></tr>
<tr class="separator:a446bf7e4c4498691c49b9bf000282a3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41f9b4609115feb7ab43abf1ff7af45f"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a41f9b4609115feb7ab43abf1ff7af45f">requestedDont</a> (option: Int64): Bool</td></tr>
<tr class="memdesc:a41f9b4609115feb7ab43abf1ff7af45f"><td class="mdescLeft">&#160;</td><td class="mdescRight">查找选项的状态。  <br /></td></tr>
<tr class="separator:a41f9b4609115feb7ab43abf1ff7af45f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a363a3ab61e861653a30e11690a5f9469"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a363a3ab61e861653a30e11690a5f9469">requestedWill</a> (option: Int64): Bool</td></tr>
<tr class="memdesc:a363a3ab61e861653a30e11690a5f9469"><td class="mdescLeft">&#160;</td><td class="mdescRight">查找选项的状态。  <br /></td></tr>
<tr class="separator:a363a3ab61e861653a30e11690a5f9469"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96d660eff3ca618024322564670f83d6"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a96d660eff3ca618024322564670f83d6">requestedWont</a> (option: Int64): Bool</td></tr>
<tr class="memdesc:a96d660eff3ca618024322564670f83d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">查找选项的状态。  <br /></td></tr>
<tr class="separator:a96d660eff3ca618024322564670f83d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3871c30c9ce35276f6664268a83ccd8"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#ab3871c30c9ce35276f6664268a83ccd8">requestWill</a> (option: Int64): Unit</td></tr>
<tr class="memdesc:ab3871c30c9ce35276f6664268a83ccd8"><td class="mdescLeft">&#160;</td><td class="mdescRight">请求 WILL。  <br /></td></tr>
<tr class="separator:ab3871c30c9ce35276f6664268a83ccd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbaa708fd901086a4d3612ac413e1847"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#abbaa708fd901086a4d3612ac413e1847">requestWont</a> (option: Int64): Unit</td></tr>
<tr class="memdesc:abbaa708fd901086a4d3612ac413e1847"><td class="mdescLeft">&#160;</td><td class="mdescRight">请求 WONT。  <br /></td></tr>
<tr class="separator:abbaa708fd901086a4d3612ac413e1847"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acef33c8f1cbf68bbd5f51756c4806a01"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#acef33c8f1cbf68bbd5f51756c4806a01">sendByte</a> (b: UInt8): Unit</td></tr>
<tr class="memdesc:acef33c8f1cbf68bbd5f51756c4806a01"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送一个字节  <br /></td></tr>
<tr class="separator:acef33c8f1cbf68bbd5f51756c4806a01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af04c1075fb1a97940dac1fa553506fcb"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#af04c1075fb1a97940dac1fa553506fcb">sendDo</a> (option: Int64): Unit</td></tr>
<tr class="memdesc:af04c1075fb1a97940dac1fa553506fcb"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 DO。  <br /></td></tr>
<tr class="separator:af04c1075fb1a97940dac1fa553506fcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66bd246860f8ba7f5fd90bd09c707dea"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a66bd246860f8ba7f5fd90bd09c707dea">sendDont</a> (option: Int64): Unit</td></tr>
<tr class="memdesc:a66bd246860f8ba7f5fd90bd09c707dea"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 DONT。  <br /></td></tr>
<tr class="separator:a66bd246860f8ba7f5fd90bd09c707dea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa72084d8c467cfae6a944e792e578172"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#aa72084d8c467cfae6a944e792e578172">sendTerminalType</a> (): Unit</td></tr>
<tr class="memdesc:aa72084d8c467cfae6a944e792e578172"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送终端类型信息。  <br /></td></tr>
<tr class="separator:aa72084d8c467cfae6a944e792e578172"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52da52c39b0a006abe47e3a4491de570"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a52da52c39b0a006abe47e3a4491de570">sendWill</a> (option: Int64): Unit</td></tr>
<tr class="memdesc:a52da52c39b0a006abe47e3a4491de570"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 WILL  <br /></td></tr>
<tr class="separator:a52da52c39b0a006abe47e3a4491de570"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab23fb80858c4f6439880e9ffd2ae5b0"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#aab23fb80858c4f6439880e9ffd2ae5b0">sendWont</a> (option: Int64): Unit</td></tr>
<tr class="memdesc:aab23fb80858c4f6439880e9ffd2ae5b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送 WONT。  <br /></td></tr>
<tr class="separator:aab23fb80858c4f6439880e9ffd2ae5b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf39dc198fb14bf27694e3f8bbac235a"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#abf39dc198fb14bf27694e3f8bbac235a">setDo</a> (option: Int64): Unit</td></tr>
<tr class="memdesc:abf39dc198fb14bf27694e3f8bbac235a"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置选项的状态。  <br /></td></tr>
<tr class="separator:abf39dc198fb14bf27694e3f8bbac235a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c5aca45b6c990c33a5a65deeabb111b"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a8c5aca45b6c990c33a5a65deeabb111b">setDont</a> (option: Int64): Unit</td></tr>
<tr class="memdesc:a8c5aca45b6c990c33a5a65deeabb111b"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置选项的状态。  <br /></td></tr>
<tr class="separator:a8c5aca45b6c990c33a5a65deeabb111b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2fcd03e69776fad692d350aa75b78be"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#ac2fcd03e69776fad692d350aa75b78be">setWantDo</a> (option: Int64): Unit</td></tr>
<tr class="memdesc:ac2fcd03e69776fad692d350aa75b78be"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置选项的状态。  <br /></td></tr>
<tr class="separator:ac2fcd03e69776fad692d350aa75b78be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c23378d05f3699fbad4311406b88d09"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a0c23378d05f3699fbad4311406b88d09">setWantDont</a> (option: Int64): Unit</td></tr>
<tr class="memdesc:a0c23378d05f3699fbad4311406b88d09"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置选项的状态。  <br /></td></tr>
<tr class="separator:a0c23378d05f3699fbad4311406b88d09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7735be624d7f538c48a9c8809adcb47"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#ac7735be624d7f538c48a9c8809adcb47">setWantWill</a> (option: Int64): Unit</td></tr>
<tr class="memdesc:ac7735be624d7f538c48a9c8809adcb47"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置选项的状态。  <br /></td></tr>
<tr class="separator:ac7735be624d7f538c48a9c8809adcb47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1afd34c651cd47ade1aaaa21dead334"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#ae1afd34c651cd47ade1aaaa21dead334">setWantWont</a> (option: Int64): Unit</td></tr>
<tr class="memdesc:ae1afd34c651cd47ade1aaaa21dead334"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置选项的状态。  <br /></td></tr>
<tr class="separator:ae1afd34c651cd47ade1aaaa21dead334"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb0378c4c1b1111687fcc0babb44893c"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#afb0378c4c1b1111687fcc0babb44893c">setWill</a> (option: Int64): Unit</td></tr>
<tr class="memdesc:afb0378c4c1b1111687fcc0babb44893c"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置选项的状态。  <br /></td></tr>
<tr class="separator:afb0378c4c1b1111687fcc0babb44893c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a491759a95ed67a3594164b7bcbfa39"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a2a491759a95ed67a3594164b7bcbfa39">setWont</a> (option: Int64): Unit</td></tr>
<tr class="memdesc:a2a491759a95ed67a3594164b7bcbfa39"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置选项的状态。  <br /></td></tr>
<tr class="separator:a2a491759a95ed67a3594164b7bcbfa39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca0540da43b9b220ea0a867e50f3d6aa"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#aca0540da43b9b220ea0a867e50f3d6aa">spyRead</a> (ch: UInt8): Unit</td></tr>
<tr class="memdesc:aca0540da43b9b220ea0a867e50f3d6aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">在监听流上发送一个被读取字符。  <br /></td></tr>
<tr class="separator:aca0540da43b9b220ea0a867e50f3d6aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e4ead0d94d427a640caa716f267f1f5"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a7e4ead0d94d427a640caa716f267f1f5">spyWrite</a> (ch: UInt8): Unit</td></tr>
<tr class="memdesc:a7e4ead0d94d427a640caa716f267f1f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">在监听流上发送一个被写入字符。  <br /></td></tr>
<tr class="separator:a7e4ead0d94d427a640caa716f267f1f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac034043e20347e48a6311357925592b6"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#ac034043e20347e48a6311357925592b6">stateIsDo</a> (option: Int64): Bool</td></tr>
<tr class="memdesc:ac034043e20347e48a6311357925592b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">查找选项的状态。  <br /></td></tr>
<tr class="separator:ac034043e20347e48a6311357925592b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71b868c4dc72f09f5367e887e629e7f4"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a71b868c4dc72f09f5367e887e629e7f4">stateIsDont</a> (option: Int64): Bool</td></tr>
<tr class="memdesc:a71b868c4dc72f09f5367e887e629e7f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">查找选项的状态。  <br /></td></tr>
<tr class="separator:a71b868c4dc72f09f5367e887e629e7f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f392491f05f6d33bfe357519fd000ad"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a7f392491f05f6d33bfe357519fd000ad">stateIsWill</a> (option: Int64): Bool</td></tr>
<tr class="memdesc:a7f392491f05f6d33bfe357519fd000ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Looks for the state of the option.  <br /></td></tr>
<tr class="separator:a7f392491f05f6d33bfe357519fd000ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52db968a111045191dbf988b01e0a32c"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a52db968a111045191dbf988b01e0a32c">stateIsWont</a> (option: Int64): Bool</td></tr>
<tr class="memdesc:a52db968a111045191dbf988b01e0a32c"><td class="mdescLeft">&#160;</td><td class="mdescRight">查找选项的状态。  <br /></td></tr>
<tr class="separator:a52db968a111045191dbf988b01e0a32c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:ad2a7a807d78c13ff47556dbfc729886e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#ad2a7a807d78c13ff47556dbfc729886e">static let COMMAND_DO</a> = [UInt8(TelnetCommand.IAC), UInt8(TelnetCommand.DO)]</td></tr>
<tr class="separator:ad2a7a807d78c13ff47556dbfc729886e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87c2e02451af5b790a93b68539d55eb3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a87c2e02451af5b790a93b68539d55eb3">static let COMMAND_DONT</a> = [UInt8(TelnetCommand.IAC), UInt8(TelnetCommand.DONT)]</td></tr>
<tr class="separator:a87c2e02451af5b790a93b68539d55eb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aece2268d81247ec42bcb1893d5d76ca9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#aece2268d81247ec42bcb1893d5d76ca9">static let COMMAND_WILL</a> = [UInt8(TelnetCommand.IAC), UInt8(TelnetCommand.WILL)]</td></tr>
<tr class="separator:aece2268d81247ec42bcb1893d5d76ca9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0c5e953998326664a98220217d18c7e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#ac0c5e953998326664a98220217d18c7e">static let COMMAND_WONT</a> = [UInt8(TelnetCommand.IAC), UInt8(TelnetCommand.WONT)]</td></tr>
<tr class="separator:ac0c5e953998326664a98220217d18c7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e648fad9efbbf9039fceb6b7529e6e1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a8e648fad9efbbf9039fceb6b7529e6e1">static let COMMAND_SB</a> = [UInt8(TelnetCommand.IAC), UInt8(TelnetCommand.SB)]</td></tr>
<tr class="separator:a8e648fad9efbbf9039fceb6b7529e6e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37493738b2cb7212356d450140885144"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a37493738b2cb7212356d450140885144">static let COMMAND_SE</a> = [UInt8(TelnetCommand.IAC), UInt8(TelnetCommand.SE)]</td></tr>
<tr class="separator:a37493738b2cb7212356d450140885144"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a93b0cf69bf2a4ea563192ef59c80e9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a1a93b0cf69bf2a4ea563192ef59c80e9">static let WILL_MASK</a> = 0x01</td></tr>
<tr class="separator:a1a93b0cf69bf2a4ea563192ef59c80e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82b42a181f0f60c2dbc46a9c4a13d795"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a82b42a181f0f60c2dbc46a9c4a13d795">static let DO_MASK</a> = 0x02</td></tr>
<tr class="separator:a82b42a181f0f60c2dbc46a9c4a13d795"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38cbd9e9246026a7fbf5ecd5aa2e46c9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a38cbd9e9246026a7fbf5ecd5aa2e46c9">static let REQUESTED_WILL_MASK</a> = 0x04</td></tr>
<tr class="separator:a38cbd9e9246026a7fbf5ecd5aa2e46c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a448b1dbcd3064d66e04084d0fb273086"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a448b1dbcd3064d66e04084d0fb273086">static let REQUESTED_DO_MASK</a> = 0x08</td></tr>
<tr class="separator:a448b1dbcd3064d66e04084d0fb273086"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade4c800a59097693e7a9478c0d55c514"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#ade4c800a59097693e7a9478c0d55c514">static let DEFAULT_PORT</a> : UInt16 = 23</td></tr>
<tr class="separator:ade4c800a59097693e7a9478c0d55c514"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade9c36bdf5571adca3eab5ccc21d39f2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#ade9c36bdf5571adca3eab5ccc21d39f2">static let COMMAND_IS</a> = [UInt8(TERMINAL_TYPE), UInt8(TERMINAL_TYPE_IS)]</td></tr>
<tr class="memdesc:ade9c36bdf5571adca3eab5ccc21d39f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is序列（用于子协商）  <br /></td></tr>
<tr class="separator:ade9c36bdf5571adca3eab5ccc21d39f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4efe6ee533f17497c0c800941746859f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a4efe6ee533f17497c0c800941746859f">static let COMMAND_AYT</a> = [UInt8(TelnetCommand.IAC), UInt8(TelnetCommand.AYT)]</td></tr>
<tr class="memdesc:a4efe6ee533f17497c0c800941746859f"><td class="mdescLeft">&#160;</td><td class="mdescRight">AYT序列  <br /></td></tr>
<tr class="separator:a4efe6ee533f17497c0c800941746859f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d6ec711ae361234e69eb912799cda12"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a0d6ec711ae361234e69eb912799cda12">var doResponse</a> : Array&lt;Int64&gt;</td></tr>
<tr class="separator:a0d6ec711ae361234e69eb912799cda12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5b09f10a7c95c9a16e5163c7de51f8c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#ae5b09f10a7c95c9a16e5163c7de51f8c">var willResponse</a> : Array&lt;Int64&gt;</td></tr>
<tr class="separator:ae5b09f10a7c95c9a16e5163c7de51f8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d36b115901459a9b113fefd9bd769aa"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a9d36b115901459a9b113fefd9bd769aa">var options</a> : Array&lt;Int64&gt;</td></tr>
<tr class="separator:a9d36b115901459a9b113fefd9bd769aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afaabb075a8eed3d4bcee7cc28a1bf06b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#afaabb075a8eed3d4bcee7cc28a1bf06b">var terminalType</a> : String</td></tr>
<tr class="memdesc:afaabb075a8eed3d4bcee7cc28a1bf06b"><td class="mdescLeft">&#160;</td><td class="mdescRight">终端类型  <br /></td></tr>
<tr class="separator:afaabb075a8eed3d4bcee7cc28a1bf06b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af16ec73f484030ae30d22cf860b2f80a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#af16ec73f484030ae30d22cf860b2f80a">var optionHandlers</a> : Array&lt;?<a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html">TelnetOptionHandler</a>&gt;</td></tr>
<tr class="memdesc:af16ec73f484030ae30d22cf860b2f80a"><td class="mdescLeft">&#160;</td><td class="mdescRight">选项处理数组  <br /></td></tr>
<tr class="separator:af16ec73f484030ae30d22cf860b2f80a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af04877b0012ef7a4c57401d5fd378619"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#af04877b0012ef7a4c57401d5fd378619">var aytMonitor</a> = Monitor()</td></tr>
<tr class="memdesc:af04877b0012ef7a4c57401d5fd378619"><td class="mdescLeft">&#160;</td><td class="mdescRight">监视器等待AYT  <br /></td></tr>
<tr class="separator:af04877b0012ef7a4c57401d5fd378619"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0c77a021c7b33b28347413a18e2ac8c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#af0c77a021c7b33b28347413a18e2ac8c">var aytFlag</a> = true</td></tr>
<tr class="memdesc:af0c77a021c7b33b28347413a18e2ac8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">AYT标志  <br /></td></tr>
<tr class="separator:af0c77a021c7b33b28347413a18e2ac8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24534563344eb7b3a50f65da3210c1e4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a24534563344eb7b3a50f65da3210c1e4">var spyStream</a> : ?OutputStream</td></tr>
<tr class="memdesc:a24534563344eb7b3a50f65da3210c1e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">监视流  <br /></td></tr>
<tr class="separator:a24534563344eb7b3a50f65da3210c1e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8cf251c4bd7c8b583e23afe372f3f4e4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html#a8cf251c4bd7c8b583e23afe372f3f4e4">var notifhand</a> : ?<a class="el" href="classcommonsNet_1_1telnet_1_1TelnetNotificationHandler.html">TelnetNotificationHandler</a></td></tr>
<tr class="memdesc:a8cf251c4bd7c8b583e23afe372f3f4e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">通知处理程序  <br /></td></tr>
<tr class="separator:a8cf251c4bd7c8b583e23afe372f3f4e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pub_attribs_classcommonsNet_1_1SocketClient"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classcommonsNet_1_1SocketClient')"><img src="closed.png" alt="-"/>&#160;Public 属性 继承自 <a class="el" href="classcommonsNet_1_1SocketClient.html">commonsNet.SocketClient</a></td></tr>
<tr class="memitem:acf063b8bd9929825dc931fa75918df33 inherit pub_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#acf063b8bd9929825dc931fa75918df33">static let NETASCII_EOL</a> : String = &quot;\r\n&quot;</td></tr>
<tr class="memdesc:acf063b8bd9929825dc931fa75918df33 inherit pub_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">大多数IETF协议使用的换行符，CRLF  <br /></td></tr>
<tr class="separator:acf063b8bd9929825dc931fa75918df33 inherit pub_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>实现Telnet的基本功能。 </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a007517fd9f34070dd2812d246fd149cd" name="a007517fd9f34070dd2812d246fd149cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a007517fd9f34070dd2812d246fd149cd">&#9670;&#160;</a></span>init() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public commonsNet.telnet.Telnet.init </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>空构造函数 </p>

</div>
</div>
<a id="a58a6c3e89b777c64c8c67ab1a44f78dd" name="a58a6c3e89b777c64c8c67ab1a44f78dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58a6c3e89b777c64c8c67ab1a44f78dd">&#9670;&#160;</a></span>init() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public commonsNet.telnet.Telnet.init </td>
          <td>(</td>
          <td class="paramname"><em>termtype</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>允许指定终端类型。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">termtype</td><td>- 待协商的终端类型（ej.VT100） </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="aa32860af9b9e57a0829e1eb884f43a83" name="aa32860af9b9e57a0829e1eb884f43a83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa32860af9b9e57a0829e1eb884f43a83">&#9670;&#160;</a></span>_connectAction_()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">protected open override func commonsNet.telnet.Telnet._connectAction_ </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>调用连接。 </p>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IOException</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a6a39f0c98225acdda63f0caa8cd0fbdd" name="a6a39f0c98225acdda63f0caa8cd0fbdd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a39f0c98225acdda63f0caa8cd0fbdd">&#9670;&#160;</a></span>_registerSpyStream()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet._registerSpyStream </td>
          <td>(</td>
          <td class="paramname"><em>spystream</em>:&#160;</td>
          <td class="paramtype">OutputStream</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>注册OutputStream以监视Telnet会话中发生的事情。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">spystream</td><td>- 会话活动将在OutputStream上得到响应。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="af8539c9bac36136a99341f0482055f52" name="af8539c9bac36136a99341f0482055f52"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8539c9bac36136a99341f0482055f52">&#9670;&#160;</a></span>_sendAYT()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet._sendAYT </td>
          <td>(</td>
          <td class="paramname"><em>_timeout</em>:&#160;</td>
          <td class="paramtype">Duration</td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>发送 AYT 序列并等待结果。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">timeout</td><td>- 等待回应的时间。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IOException</td><td></td></tr>
    <tr><td class="paramname">IllegalArgumentException</td><td></td></tr>
    <tr><td class="paramname">InterruptedException</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>如果 AYT 收到响应则为 true，否则为 false </dd></dl>

</div>
</div>
<a id="ab54b726af9cac9e17e73c741d6d63187" name="ab54b726af9cac9e17e73c741d6d63187"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab54b726af9cac9e17e73c741d6d63187">&#9670;&#160;</a></span>_sendCommand()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet._sendCommand </td>
          <td>(</td>
          <td class="paramname"><em>cmd</em>:&#160;</td>
          <td class="paramtype">Byte</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>发送命令，自动添加 IAC 前缀并刷新输出。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">cmd</td><td>- 要发送的命令数据 </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IOException</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ad46ae629a7fa2f7d7a8f728abf187f6b" name="ad46ae629a7fa2f7d7a8f728abf187f6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad46ae629a7fa2f7d7a8f728abf187f6b">&#9670;&#160;</a></span>_sendSubnegotiation()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet._sendSubnegotiation </td>
          <td>(</td>
          <td class="paramname"><em>subn</em>:&#160;</td>
          <td class="paramtype">Array&lt;Int64&gt;</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>管理终端类型的子协商。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">subn</td><td>- 要发送的子协商数据 </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IOException</td><td>- I/O 异常。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac93058e47c7da88870a32b81b62987ea" name="ac93058e47c7da88870a32b81b62987ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac93058e47c7da88870a32b81b62987ea">&#9670;&#160;</a></span>_stopSpyStream()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet._stopSpyStream </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>停止监视此 Telnet。 </p>

</div>
</div>
<a id="aaa2f98a6c8a1a5ce149c9881802bb16b" name="aaa2f98a6c8a1a5ce149c9881802bb16b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa2f98a6c8a1a5ce149c9881802bb16b">&#9670;&#160;</a></span>addOptionHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public open func commonsNet.telnet.Telnet.addOptionHandler </td>
          <td>(</td>
          <td class="paramname"><em>opthand</em>:&#160;</td>
          <td class="paramtype">TelnetOptionHandler</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>注册一个新的 TelnetOptionHandler 以供该 telnet 使用。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">opthand</td><td>- 要注册的选项处理程序。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">InvalidTelnetOptionException</td><td>- 选项代码无效。 </td></tr>
    <tr><td class="paramname">IOException</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a0484eeddaa11d7018a5cc1835bbb26f2" name="a0484eeddaa11d7018a5cc1835bbb26f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0484eeddaa11d7018a5cc1835bbb26f2">&#9670;&#160;</a></span>deleteOptionHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public open func commonsNet.telnet.Telnet.deleteOptionHandler </td>
          <td>(</td>
          <td class="paramname"><em>optcode</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>取消注册 TelnetOptionHandler。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">optcode</td><td>- 要注册的选项处理程序。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">InvalidTelnetOptionException</td><td>- 选项代码无效。 </td></tr>
    <tr><td class="paramname">IOException</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a2714bb144f15c7f289024db49be39d25" name="a2714bb144f15c7f289024db49be39d25"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2714bb144f15c7f289024db49be39d25">&#9670;&#160;</a></span>processAYTResponse()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.processAYTResponse </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理 AYT 的响应 </p>

</div>
</div>
<a id="a1617f438728d34e9e496561795743d1c" name="a1617f438728d34e9e496561795743d1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1617f438728d34e9e496561795743d1c">&#9670;&#160;</a></span>processCommand()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.processCommand </td>
          <td>(</td>
          <td class="paramname"><em>command</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理一个命令。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">command</td><td>- 命令代码。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a4e34327fc0b90b65748dcbaae88984e0" name="a4e34327fc0b90b65748dcbaae88984e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e34327fc0b90b65748dcbaae88984e0">&#9670;&#160;</a></span>processDo()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.processDo </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理 DO 请求。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 要设置的选项代码。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IOException</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="acba69aee4e6f7df8460be9e567bed40f" name="acba69aee4e6f7df8460be9e567bed40f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acba69aee4e6f7df8460be9e567bed40f">&#9670;&#160;</a></span>processDont()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.processDont </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理 DONT 请求。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 要设置的选项代码。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IOException</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="af4a8dfae7deeac1547191e580f155e19" name="af4a8dfae7deeac1547191e580f155e19"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af4a8dfae7deeac1547191e580f155e19">&#9670;&#160;</a></span>processSuboption()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.processSuboption </td>
          <td>(</td>
          <td class="paramname"><em>suboption</em>:&#160;</td>
          <td class="paramtype">Array&lt;Int64&gt;, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>suboptionLength</em>:&#160;</td>
          <td class="paramtype">Int64&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理子选项协商。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">suboption</td><td>- 收到子协商数据 </td></tr>
    <tr><td class="paramname">suboptionLength</td><td>- 接收数据的长度 </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IOException</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a1a5f2c79d04877b13580642968ec74d7" name="a1a5f2c79d04877b13580642968ec74d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a5f2c79d04877b13580642968ec74d7">&#9670;&#160;</a></span>processWill()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.processWill </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理 WILL 请求。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 要设置的选项代码。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IOException</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7f233d481e2e42c5a3bc91a02a1784d8" name="a7f233d481e2e42c5a3bc91a02a1784d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f233d481e2e42c5a3bc91a02a1784d8">&#9670;&#160;</a></span>processWont()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.processWont </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理 WONT 请求。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 要设置的选项代码。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IOException</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a2a6ede6d8612e8c67f5b15f49a0882f0" name="a2a6ede6d8612e8c67f5b15f49a0882f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a6ede6d8612e8c67f5b15f49a0882f0">&#9670;&#160;</a></span>registerNotifHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public open func commonsNet.telnet.Telnet.registerNotifHandler </td>
          <td>(</td>
          <td class="paramname"><em>notifhand</em>:&#160;</td>
          <td class="paramtype">TelnetNotificationHandler</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>注册一个通知处理程序，将收到的 telnet 选项协商命令的通知发送到该通知处理程序。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">notifhand</td><td>- 需要注册的 TelnetNotificationHandler </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ab097a7e039bd295020dd18ffede5a7a6" name="ab097a7e039bd295020dd18ffede5a7a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab097a7e039bd295020dd18ffede5a7a6">&#9670;&#160;</a></span>requestDo()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.requestDo </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>请求 DO。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 选项代码。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IOException</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a2daf3ae644a4cec03cf0e48fe8405cd1" name="a2daf3ae644a4cec03cf0e48fe8405cd1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2daf3ae644a4cec03cf0e48fe8405cd1">&#9670;&#160;</a></span>requestDont()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.requestDont </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>请求 DONT。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 选项代码。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IOException</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a446bf7e4c4498691c49b9bf000282a3b" name="a446bf7e4c4498691c49b9bf000282a3b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a446bf7e4c4498691c49b9bf000282a3b">&#9670;&#160;</a></span>requestedDo()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.requestedDo </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>查找选项的状态。 </p>
<dl class="section return"><dt>返回</dt><dd>如果已请求 DO，则返回 true。</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 要查找的选项代码。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a41f9b4609115feb7ab43abf1ff7af45f" name="a41f9b4609115feb7ab43abf1ff7af45f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a41f9b4609115feb7ab43abf1ff7af45f">&#9670;&#160;</a></span>requestedDont()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.requestedDont </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>查找选项的状态。 </p>
<dl class="section return"><dt>返回</dt><dd>如果已请求 DONT，则返回 true</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 要查找的选项代码。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a363a3ab61e861653a30e11690a5f9469" name="a363a3ab61e861653a30e11690a5f9469"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a363a3ab61e861653a30e11690a5f9469">&#9670;&#160;</a></span>requestedWill()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.requestedWill </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>查找选项的状态。 </p>
<dl class="section return"><dt>返回</dt><dd>如果已请求 WILL，则返回 true</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 要查找的选项代码。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a96d660eff3ca618024322564670f83d6" name="a96d660eff3ca618024322564670f83d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96d660eff3ca618024322564670f83d6">&#9670;&#160;</a></span>requestedWont()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.requestedWont </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>查找选项的状态。 </p>
<dl class="section return"><dt>返回</dt><dd>如果已请求 WONT，则返回 true</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 要查找的选项代码。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ab3871c30c9ce35276f6664268a83ccd8" name="ab3871c30c9ce35276f6664268a83ccd8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3871c30c9ce35276f6664268a83ccd8">&#9670;&#160;</a></span>requestWill()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.requestWill </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>请求 WILL。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 选项代码 </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IOException</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="abbaa708fd901086a4d3612ac413e1847" name="abbaa708fd901086a4d3612ac413e1847"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abbaa708fd901086a4d3612ac413e1847">&#9670;&#160;</a></span>requestWont()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.requestWont </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>请求 WONT。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 选项代码。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IOException</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="acef33c8f1cbf68bbd5f51756c4806a01" name="acef33c8f1cbf68bbd5f51756c4806a01"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acef33c8f1cbf68bbd5f51756c4806a01">&#9670;&#160;</a></span>sendByte()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.sendByte </td>
          <td>(</td>
          <td class="paramname"><em>b</em>:&#160;</td>
          <td class="paramtype">UInt8</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>发送一个字节 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">b</td><td>- 要发送的字节 </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IOException</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="af04c1075fb1a97940dac1fa553506fcb" name="af04c1075fb1a97940dac1fa553506fcb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af04c1075fb1a97940dac1fa553506fcb">&#9670;&#160;</a></span>sendDo()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.sendDo </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>发送 DO。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 选项代码。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IOException</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a66bd246860f8ba7f5fd90bd09c707dea" name="a66bd246860f8ba7f5fd90bd09c707dea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a66bd246860f8ba7f5fd90bd09c707dea">&#9670;&#160;</a></span>sendDont()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.sendDont </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>发送 DONT。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 选项代码 </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IOException</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aa72084d8c467cfae6a944e792e578172" name="aa72084d8c467cfae6a944e792e578172"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa72084d8c467cfae6a944e792e578172">&#9670;&#160;</a></span>sendTerminalType()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.sendTerminalType </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>发送终端类型信息。 </p>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IOException</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a52da52c39b0a006abe47e3a4491de570" name="a52da52c39b0a006abe47e3a4491de570"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a52da52c39b0a006abe47e3a4491de570">&#9670;&#160;</a></span>sendWill()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.sendWill </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>发送 WILL </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 选项代码 </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IOException</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aab23fb80858c4f6439880e9ffd2ae5b0" name="aab23fb80858c4f6439880e9ffd2ae5b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab23fb80858c4f6439880e9ffd2ae5b0">&#9670;&#160;</a></span>sendWont()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.sendWont </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>发送 WONT。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 选项代码 </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IOException</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="abf39dc198fb14bf27694e3f8bbac235a" name="abf39dc198fb14bf27694e3f8bbac235a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf39dc198fb14bf27694e3f8bbac235a">&#9670;&#160;</a></span>setDo()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.setDo </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置选项的状态。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 要设置的选项代码。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IOException</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8c5aca45b6c990c33a5a65deeabb111b" name="a8c5aca45b6c990c33a5a65deeabb111b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c5aca45b6c990c33a5a65deeabb111b">&#9670;&#160;</a></span>setDont()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.setDont </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置选项的状态。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 要设置的选项代码。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac2fcd03e69776fad692d350aa75b78be" name="ac2fcd03e69776fad692d350aa75b78be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2fcd03e69776fad692d350aa75b78be">&#9670;&#160;</a></span>setWantDo()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.setWantDo </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置选项的状态。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 要设置的选项代码。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a0c23378d05f3699fbad4311406b88d09" name="a0c23378d05f3699fbad4311406b88d09"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c23378d05f3699fbad4311406b88d09">&#9670;&#160;</a></span>setWantDont()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.setWantDont </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置选项的状态。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 要设置的选项代码。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac7735be624d7f538c48a9c8809adcb47" name="ac7735be624d7f538c48a9c8809adcb47"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7735be624d7f538c48a9c8809adcb47">&#9670;&#160;</a></span>setWantWill()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.setWantWill </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置选项的状态。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 要设置的选项代码。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae1afd34c651cd47ade1aaaa21dead334" name="ae1afd34c651cd47ade1aaaa21dead334"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae1afd34c651cd47ade1aaaa21dead334">&#9670;&#160;</a></span>setWantWont()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.setWantWont </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置选项的状态。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 要设置的选项代码。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="afb0378c4c1b1111687fcc0babb44893c" name="afb0378c4c1b1111687fcc0babb44893c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb0378c4c1b1111687fcc0babb44893c">&#9670;&#160;</a></span>setWill()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.setWill </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置选项的状态。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 要设置的选项代码。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IOException</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a2a491759a95ed67a3594164b7bcbfa39" name="a2a491759a95ed67a3594164b7bcbfa39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a491759a95ed67a3594164b7bcbfa39">&#9670;&#160;</a></span>setWont()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.setWont </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置选项的状态。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 要设置的选项代码。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aca0540da43b9b220ea0a867e50f3d6aa" name="aca0540da43b9b220ea0a867e50f3d6aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca0540da43b9b220ea0a867e50f3d6aa">&#9670;&#160;</a></span>spyRead()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.spyRead </td>
          <td>(</td>
          <td class="paramname"><em>ch</em>:&#160;</td>
          <td class="paramtype">UInt8</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>在监听流上发送一个被读取字符。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ch</td><td>- 从会话中读取的字符 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7e4ead0d94d427a640caa716f267f1f5" name="a7e4ead0d94d427a640caa716f267f1f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e4ead0d94d427a640caa716f267f1f5">&#9670;&#160;</a></span>spyWrite()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.spyWrite </td>
          <td>(</td>
          <td class="paramname"><em>ch</em>:&#160;</td>
          <td class="paramtype">UInt8</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>在监听流上发送一个被写入字符。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ch</td><td>- 写入会话的字符 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac034043e20347e48a6311357925592b6" name="ac034043e20347e48a6311357925592b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac034043e20347e48a6311357925592b6">&#9670;&#160;</a></span>stateIsDo()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.stateIsDo </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>查找选项的状态。 </p>
<dl class="section return"><dt>返回</dt><dd>如果 DO 已被确认，则返回 true。</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 要查找的选项代码。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a71b868c4dc72f09f5367e887e629e7f4" name="a71b868c4dc72f09f5367e887e629e7f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a71b868c4dc72f09f5367e887e629e7f4">&#9670;&#160;</a></span>stateIsDont()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.stateIsDont </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>查找选项的状态。 </p>
<dl class="section return"><dt>返回</dt><dd>如果 DONT 已被确认，则返回 true</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 要查找的选项代码。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7f392491f05f6d33bfe357519fd000ad" name="a7f392491f05f6d33bfe357519fd000ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f392491f05f6d33bfe357519fd000ad">&#9670;&#160;</a></span>stateIsWill()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.stateIsWill </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Looks for the state of the option. </p>
<dl class="section return"><dt>返回</dt><dd>returns true if a <code class="JavaDocCode">WILL</code> has been acknowledged</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 要查找的选项代码。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a52db968a111045191dbf988b01e0a32c" name="a52db968a111045191dbf988b01e0a32c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a52db968a111045191dbf988b01e0a32c">&#9670;&#160;</a></span>stateIsWont()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">func commonsNet.telnet.Telnet.stateIsWont </td>
          <td>(</td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>查找选项的状态。 </p>
<dl class="section return"><dt>返回</dt><dd>如果已确认 WONT，则返回 true</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>- 要查找的选项代码。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a9b63b3e901500afe98f79663f5467c27" name="a9b63b3e901500afe98f79663f5467c27"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b63b3e901500afe98f79663f5467c27">&#9670;&#160;</a></span>unregisterNotifHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public open func commonsNet.telnet.Telnet.unregisterNotifHandler </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>取消注册当前通知处理程序。 </p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a09cf5a261a043d414a0fc3bf6e01308e" name="a09cf5a261a043d414a0fc3bf6e01308e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a09cf5a261a043d414a0fc3bf6e01308e">&#9670;&#160;</a></span>let lock</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.Telnet.let lock = ReentrantMutex()</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a4efe6ee533f17497c0c800941746859f" name="a4efe6ee533f17497c0c800941746859f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4efe6ee533f17497c0c800941746859f">&#9670;&#160;</a></span>static let COMMAND_AYT</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.Telnet.static let COMMAND_AYT = [UInt8(TelnetCommand.IAC), UInt8(TelnetCommand.AYT)]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>AYT序列 </p>

</div>
</div>
<a id="ad2a7a807d78c13ff47556dbfc729886e" name="ad2a7a807d78c13ff47556dbfc729886e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2a7a807d78c13ff47556dbfc729886e">&#9670;&#160;</a></span>static let COMMAND_DO</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.Telnet.static let COMMAND_DO = [UInt8(TelnetCommand.IAC), UInt8(TelnetCommand.DO)]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a87c2e02451af5b790a93b68539d55eb3" name="a87c2e02451af5b790a93b68539d55eb3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a87c2e02451af5b790a93b68539d55eb3">&#9670;&#160;</a></span>static let COMMAND_DONT</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.Telnet.static let COMMAND_DONT = [UInt8(TelnetCommand.IAC), UInt8(TelnetCommand.DONT)]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ade9c36bdf5571adca3eab5ccc21d39f2" name="ade9c36bdf5571adca3eab5ccc21d39f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade9c36bdf5571adca3eab5ccc21d39f2">&#9670;&#160;</a></span>static let COMMAND_IS</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.Telnet.static let COMMAND_IS = [UInt8(TERMINAL_TYPE), UInt8(TERMINAL_TYPE_IS)]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Is序列（用于子协商） </p>

</div>
</div>
<a id="a8e648fad9efbbf9039fceb6b7529e6e1" name="a8e648fad9efbbf9039fceb6b7529e6e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e648fad9efbbf9039fceb6b7529e6e1">&#9670;&#160;</a></span>static let COMMAND_SB</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.Telnet.static let COMMAND_SB = [UInt8(TelnetCommand.IAC), UInt8(TelnetCommand.SB)]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a37493738b2cb7212356d450140885144" name="a37493738b2cb7212356d450140885144"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a37493738b2cb7212356d450140885144">&#9670;&#160;</a></span>static let COMMAND_SE</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.Telnet.static let COMMAND_SE = [UInt8(TelnetCommand.IAC), UInt8(TelnetCommand.SE)]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aece2268d81247ec42bcb1893d5d76ca9" name="aece2268d81247ec42bcb1893d5d76ca9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aece2268d81247ec42bcb1893d5d76ca9">&#9670;&#160;</a></span>static let COMMAND_WILL</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.Telnet.static let COMMAND_WILL = [UInt8(TelnetCommand.IAC), UInt8(TelnetCommand.WILL)]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ac0c5e953998326664a98220217d18c7e" name="ac0c5e953998326664a98220217d18c7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0c5e953998326664a98220217d18c7e">&#9670;&#160;</a></span>static let COMMAND_WONT</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.Telnet.static let COMMAND_WONT = [UInt8(TelnetCommand.IAC), UInt8(TelnetCommand.WONT)]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ade4c800a59097693e7a9478c0d55c514" name="ade4c800a59097693e7a9478c0d55c514"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade4c800a59097693e7a9478c0d55c514">&#9670;&#160;</a></span>static let DEFAULT_PORT</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.Telnet.static let DEFAULT_PORT : UInt16 = 23</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a82b42a181f0f60c2dbc46a9c4a13d795" name="a82b42a181f0f60c2dbc46a9c4a13d795"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a82b42a181f0f60c2dbc46a9c4a13d795">&#9670;&#160;</a></span>static let DO_MASK</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.Telnet.static let DO_MASK = 0x02</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a448b1dbcd3064d66e04084d0fb273086" name="a448b1dbcd3064d66e04084d0fb273086"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a448b1dbcd3064d66e04084d0fb273086">&#9670;&#160;</a></span>static let REQUESTED_DO_MASK</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.Telnet.static let REQUESTED_DO_MASK = 0x08</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a38cbd9e9246026a7fbf5ecd5aa2e46c9" name="a38cbd9e9246026a7fbf5ecd5aa2e46c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38cbd9e9246026a7fbf5ecd5aa2e46c9">&#9670;&#160;</a></span>static let REQUESTED_WILL_MASK</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.Telnet.static let REQUESTED_WILL_MASK = 0x04</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a41a30c09fbbfa4152bb3b6364102bf94" name="a41a30c09fbbfa4152bb3b6364102bf94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a41a30c09fbbfa4152bb3b6364102bf94">&#9670;&#160;</a></span>static let TERMINAL_TYPE</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.Telnet.static let TERMINAL_TYPE = 24</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>终端类型选项 </p>

</div>
</div>
<a id="a52f4cc098994c8f7739883b30a741b4b" name="a52f4cc098994c8f7739883b30a741b4b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a52f4cc098994c8f7739883b30a741b4b">&#9670;&#160;</a></span>static let TERMINAL_TYPE_IS</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.Telnet.static let TERMINAL_TYPE_IS = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>是否（用于子协商） </p>

</div>
</div>
<a id="a286911c6262df04f1ae3e0355bf64dc6" name="a286911c6262df04f1ae3e0355bf64dc6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a286911c6262df04f1ae3e0355bf64dc6">&#9670;&#160;</a></span>static let TERMINAL_TYPE_SEND</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.Telnet.static let TERMINAL_TYPE_SEND = 1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>发送（用于子协商） </p>

</div>
</div>
<a id="a1a93b0cf69bf2a4ea563192ef59c80e9" name="a1a93b0cf69bf2a4ea563192ef59c80e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a93b0cf69bf2a4ea563192ef59c80e9">&#9670;&#160;</a></span>static let WILL_MASK</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.Telnet.static let WILL_MASK = 0x01</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="af0c77a021c7b33b28347413a18e2ac8c" name="af0c77a021c7b33b28347413a18e2ac8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af0c77a021c7b33b28347413a18e2ac8c">&#9670;&#160;</a></span>var aytFlag</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.Telnet.var aytFlag = true</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>AYT标志 </p>

</div>
</div>
<a id="af04877b0012ef7a4c57401d5fd378619" name="af04877b0012ef7a4c57401d5fd378619"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af04877b0012ef7a4c57401d5fd378619">&#9670;&#160;</a></span>var aytMonitor</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.Telnet.var aytMonitor = Monitor()</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>监视器等待AYT </p>

</div>
</div>
<a id="a0d6ec711ae361234e69eb912799cda12" name="a0d6ec711ae361234e69eb912799cda12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d6ec711ae361234e69eb912799cda12">&#9670;&#160;</a></span>var doResponse</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.Telnet.var doResponse : Array&lt;Int64&gt;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a8cf251c4bd7c8b583e23afe372f3f4e4" name="a8cf251c4bd7c8b583e23afe372f3f4e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8cf251c4bd7c8b583e23afe372f3f4e4">&#9670;&#160;</a></span>var notifhand</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.Telnet.var notifhand : ?<a class="el" href="classcommonsNet_1_1telnet_1_1TelnetNotificationHandler.html">TelnetNotificationHandler</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>通知处理程序 </p>

</div>
</div>
<a id="af16ec73f484030ae30d22cf860b2f80a" name="af16ec73f484030ae30d22cf860b2f80a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af16ec73f484030ae30d22cf860b2f80a">&#9670;&#160;</a></span>var optionHandlers</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.Telnet.var optionHandlers : Array&lt;?<a class="el" href="classcommonsNet_1_1telnet_1_1TelnetOptionHandler.html">TelnetOptionHandler</a>&gt;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>选项处理数组 </p>

</div>
</div>
<a id="a9d36b115901459a9b113fefd9bd769aa" name="a9d36b115901459a9b113fefd9bd769aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d36b115901459a9b113fefd9bd769aa">&#9670;&#160;</a></span>var options</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.Telnet.var options : Array&lt;Int64&gt;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a24534563344eb7b3a50f65da3210c1e4" name="a24534563344eb7b3a50f65da3210c1e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24534563344eb7b3a50f65da3210c1e4">&#9670;&#160;</a></span>var spyStream</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.Telnet.var spyStream : ?OutputStream</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>监视流 </p>

</div>
</div>
<a id="afaabb075a8eed3d4bcee7cc28a1bf06b" name="afaabb075a8eed3d4bcee7cc28a1bf06b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afaabb075a8eed3d4bcee7cc28a1bf06b">&#9670;&#160;</a></span>var terminalType</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.Telnet.var terminalType : String</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>终端类型 </p>

</div>
</div>
<a id="ae5b09f10a7c95c9a16e5163c7de51f8c" name="ae5b09f10a7c95c9a16e5163c7de51f8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5b09f10a7c95c9a16e5163c7de51f8c">&#9670;&#160;</a></span>var willResponse</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.telnet.Telnet.var willResponse : Array&lt;Int64&gt;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>src/telnet/<a class="el" href="telnet_8cj.html">telnet.cj</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.9.6-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacecommonsNet.html">commonsNet</a></li><li class="navelem"><a class="el" href="namespacecommonsNet_1_1telnet.html">telnet</a></li><li class="navelem"><a class="el" href="classcommonsNet_1_1telnet_1_1Telnet.html">Telnet</a></li>
    <li class="footer">制作者 <img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
  </ul>
</div>
</body>
</html>
